PressForward\Core\Utility\Relate S

Total Complexity 38
Dependencies 6
Dependents 1
Total lines 438
Lines of code 269
Logical lines of code 147
Comment lines 115
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
archive_nominations()
A
37 13 78
basic_relate()
S
56 4 19
get_relationship()
S
55 3 20
ajax_star()
S
52 2 26
set_relationship()
S
56 2 18
delete_relationship()
S
62 2 11
ajax_relate()
S
51 1 26
action_hooks()
S
60 1 16
get_relationship_value()
S
65 2 9
get_starred_items_for_user()
S
68 2 7
get_relationship_type_id()
S
61 1 12
get_relationships_for_user()
S
64 1 11
__construct()
S
71 1 6
is_item_starred_for_user()
S
74 1 4
star_item_for_user()
S
78 1 3
unstar_item_for_user()
S
79 1 3